/*
 * @Descripttion: 
 * @version: 
 * @Author: LLP
 * @Date: 2019-12-15 15:53:50
 * @LastEditors: LLP
 * @LastEditTime: 2019-12-21 10:19:38
 */
import request from '@/filter/request'
/**
 * @name: 资产列表
 * ----------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function assetList(data) {
    return request({
        url: '/asset/list',
        method: 'post',
        data
    }) 
}
/**
 * @name: 历史详情列表
 * ------------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function txList(data) {
    return request({
        url: '/tx/list',
        method: 'post',
        data
    })
}
/**
 * @name: 钱包地址
 * ----------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function walletAddress(data) {
    return request({
        url: '/wallet/address',
        method: 'post',
        data
    })
}
/**
 * @name: 转账
 * ----------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function assetSend(data) {
    return request({
        url: '/asset/send',
        method: 'post',
        data
    })
}
/**
 * @name: 获取手续费
 * ------------------
 * @test: test font
 * @msg: 
 * @param {type} 
 * @return: 
 */
export function getFee(data) {
    return request({ 
        url: '/get/fee',
        method: 'post',
        data
    })
}
/**
 * [totalbalance description]
 * 账户金额折线图
 * --------------------------
 * @Author   LLP
 * @DateTime 2019-12-26T17:48:34+0800
 * @param    {[type]}                 data [description]
 * @return   {[type]}                      [description]
 */
export function totalbalance(data) {
    return request({
        url: '/user/totalbalance',
        method: 'post',
        data
    })
}
